# Shows author's authorships(audio_assets, programs, ...)
class AuthorshipsController < ApplicationController
  before_filter :login_required
  before_filter :body_id
  
  def body_id
    @body_id = :authorship
  end
  
  def index
    redirect_to :action => 'programs'
  end

  def programs
    @programs = current_user.find_programs
  end
  
  def audio_assets
    @audio_assets = current_user.find_audio_assets
  end
end
